projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9adfc8e
)
Fix undecorated windows
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 21 Mar 2014 19:39:46 +0000
(15:39 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 21 Mar 2014 19:39:46 +0000
(15:39 -0400)
Setting windows undecorated was broken by some of the recent
shadow width changes. We need to ensure that shadow width is
zero for undecorated windows, then things work again.
gtk/gtkwindow.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwindow.c
b/gtk/gtkwindow.c
index 3dc11728e3902d3279aea655b0dd3628e201943e..80bab408364020fc9c45e5e1aa1682385f45f1c4 100644
(file)
--- a/
gtk/gtkwindow.c
+++ b/
gtk/gtkwindow.c
@@
-6562,7
+6562,8
@@
get_shadow_width (GtkWidget *widget,
*shadow_width = border;
- if (!priv->client_decorated)
+ if (!priv->decorated ||
+ !priv->client_decorated)
return;
if (priv->maximized ||